package com.lhz.project.wage.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.lhz.project.wage.converter.CustomDoubleConverter;
import lombok.Data;


/**
 * 工资基本表参数类
 *
 * @author LiHuaZhi
 * @since 2020-07-04 13:05:55
 */

//Excel导入类
@Data
public class WageBaseData {

    /**
     * 名称
     */
    private String name;
    /**
     * 身份证
     */
    private String idCard;
    /**
     * 银行卡
     */
    private String bankCard;
    /**
     * 入职日期
     */
    @DateTimeFormat("yyyy-MM-dd")
    private String joinDate;
    /**
     * 职位
     */
    private String position;
    /**
     * 年薪
     */
    @ExcelProperty(converter = CustomDoubleConverter.class)
    private Double annualSalary;
    /**
     * 绩效
     */
    @ExcelProperty(converter = CustomDoubleConverter.class)
    private Double performance;
    /**
     * 基础工资
     */
    @ExcelProperty(converter = CustomDoubleConverter.class)
    private Double baseWage;

}